$(document).ajaxSend(function (e, xhr, opt) {
    var user_token = localStorage.getItem("user_token");
    console.log(user_token);
    xhr.setRequestHeader("user_token_header", user_token);
})

function logout(){
    localStorage.removeItem("user_token");
    location.href = "blog_login.html"
}
